<Code Lib>
2025.3 Constructor
Changes 5
C

TessellatedFace(IList<IList<XYZ>>, ElementId)

Description:
Autodesk.Revit.DB.
Overloads (2):
TessellatedFace(IList[IList[XYZ]],ElementId)

public TessellatedFace(
	IList<IList<XYZ>> allLoopVertices,
	ElementId materialId
)

  • IList<IList<XYZ>>
    allLoopVertices
    Boundary vertices without duplication of the ends - i.e., a boundary of a triangular face consists of 3 (and NOT 4) vertices. The first array describes the outer loop, the following arrays, if any - inner loops. It is expected that vertices of outer boundary are listed in CCW order with respect to the face normal in the solid, while the vertices of inner loops - in CW order. The vertices listed in the wrong order will still be handled by TessellatedShapeBuilder, but performance may deteriorate. Contents of this parameter will be changed while constructing the face.
  • materialId
    Material of the face to be used when the result is a Solid or a Sheet. If the result is a Mesh, a material will be assigned to the entire Mesh.

Loading…